package shouji;

import static shouji.CardType.BIGCARD;

public class Test {
    public static void main(String[] args) {
        CallPackage cp = new CallPackage(1,1,1.0);
        cp.show();
        System.out.println("cp.getNumberOfSMS():"+cp.getNumberOfSMS()+"cp.getTalkTime()"+cp.getTalkTime());
        cp.callService(1,BIGCARD);
        PackageService ps = new CallPackage(2,2,2.0);
        ps.show();
        CallPackage ps1 = (CallPackage)ps;
        ps1.setTalkTime(4);
        ps1.show();
        ConsumerInformation ci = new ConsumerInformation(1,1,1);
        ci.show();
        OnlinePackage op = new OnlinePackage(2,2);
        op.show();
        PhoneCard pc = new PhoneCard(1,"GU Chengjie","123456",1.0,1,1.0,BIGCARD);
        pc.show();
    }
}
